<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div id="dialog-order" title="提交订单" style="background:white">
  <div id="content">
<form action="addOrderForm.action" id="order-form" method="post" class="validator">
  <input type="hidden" id="username" name="username" value="${SESSION_USERNAME}"/>
  <input type="hidden" id="itemId" name="itemId" value="${item.id}"/>
  <input type="hidden" class="order-price" name="price" value="${item.groupPrice}"/>
  <input type="hidden" name="number" value="1"/>

  <div id="deal-buy">
    <div class="sect">
      <table class="order-table">
        <tr>
          <th class="deal-buy-desc">项目</th>
          <th class="deal-buy-quantity">数量</th>
          <th class="deal-buy-multi"></th>
          <th class="deal-buy-price">价格</th>
          <th class="deal-buy-equal"></th>
          <th class="deal-buy-total">总价</th>
        </tr>
        <tr>
          <td id="order-title" class="deal-buy-desc">
            ${item.title}
          </td>
          <td class="deal-buy-quantity">
            <input type="text" class="input-text f-input" maxlength="4"
                   name="quantity" value="1" id="deal-buy-quantity-input"
                   readonly/>
            <br/>
            <span style="font-size: 12px; color: gray;">最多1件</span>
          </td>
          <td class="deal-buy-multi">
            x
          </td>
          <td class="deal-buy-price">
            <span class="money">¥</span>
            <span id="deal-buy-price" class="order-price">${item.groupPrice}</span>
          </td>
          <td class="deal-buy-equal">
            =
          </td>
          <td class="deal-buy-total">
            <span class="money">¥</span>
            <span id="deal-buy-total" class="order-price">${item.groupPrice}</span>
          </td>
        </tr>

        <tr class="order-total">
          <td class="deal-buy-desc">
            <strong>订单总额：</strong>
          </td>
          <td class="deal-buy-quantity"></td>
          <td class="deal-buy-multi"></td>
          <td class="deal-buy-price"></td>
          <td class="deal-buy-equal">=</td>
          <td class="deal-buy-total">
            <span class="money">¥</span>
            <strong id="deal-buy-total-t" class="order-price">${item.groupPrice}</strong>

          </td>
        </tr>
      </table>
      <div class="field mobile">
        <label>
          <strong>订单附言</strong>
        </label>
        <textarea name="orderForm.message"
                  style="width: 650px; height: 80px; padding: 2px;"></textarea>
      </div>
      <input id="deal-buy-cardcode" type="hidden" name="cardcode"
             maxlength="8" value=""/>
      <input type="hidden" name="id" value="1"/>

      <input type="submit" style="display:none" class="formsumit"/>
    </div>
  </div>
</form>
  </div>
</div>